package orm;

import java.sql.Timestamp;

/**
 * AbstractDeal entity provides the base persistence definition of the Deal
 * entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractDeal implements java.io.Serializable {

	// Fields

	private Integer dealId;
	private State state;
	private Group group;
	private Item item;
	private Timestamp launchDate;
	private Timestamp expiredDate;
	private String privacyQuestion;
	private String privacyAnswer;
	private Double price;
	private Double totalMoney;
	private Integer totalQuantity;
	private String launcherComment;

	// Constructors

	/** default constructor */
	public AbstractDeal() {
	}

	/** full constructor */
	public AbstractDeal(State state, Group group, Item item,
			Timestamp launchDate, Timestamp expiredDate,
			String privacyQuestion, String privacyAnswer, Double price,
			Double totalMoney, Integer totalQuantity, String launcherComment) {
		this.state = state;
		this.group = group;
		this.item = item;
		this.launchDate = launchDate;
		this.expiredDate = expiredDate;
		this.privacyQuestion = privacyQuestion;
		this.privacyAnswer = privacyAnswer;
		this.price = price;
		this.totalMoney = totalMoney;
		this.totalQuantity = totalQuantity;
		this.launcherComment = launcherComment;
	}

	// Property accessors

	public Integer getDealId() {
		return this.dealId;
	}

	public void setDealId(Integer dealId) {
		this.dealId = dealId;
	}

	public State getState() {
		return this.state;
	}

	public void setState(State state) {
		this.state = state;
	}

	public Group getGroup() {
		return this.group;
	}

	public void setGroup(Group group) {
		this.group = group;
	}

	public Item getItem() {
		return this.item;
	}

	public void setItem(Item item) {
		this.item = item;
	}

	public Timestamp getLaunchDate() {
		return this.launchDate;
	}

	public void setLaunchDate(Timestamp launchDate) {
		this.launchDate = launchDate;
	}

	public Timestamp getExpiredDate() {
		return this.expiredDate;
	}

	public void setExpiredDate(Timestamp expiredDate) {
		this.expiredDate = expiredDate;
	}

	public String getPrivacyQuestion() {
		return this.privacyQuestion;
	}

	public void setPrivacyQuestion(String privacyQuestion) {
		this.privacyQuestion = privacyQuestion;
	}

	public String getPrivacyAnswer() {
		return this.privacyAnswer;
	}

	public void setPrivacyAnswer(String privacyAnswer) {
		this.privacyAnswer = privacyAnswer;
	}

	public Double getPrice() {
		return this.price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Double getTotalMoney() {
		return this.totalMoney;
	}

	public void setTotalMoney(Double totalMoney) {
		this.totalMoney = totalMoney;
	}

	public Integer getTotalQuantity() {
		return this.totalQuantity;
	}

	public void setTotalQuantity(Integer totalQuantity) {
		this.totalQuantity = totalQuantity;
	}

	public String getLauncherComment() {
		return this.launcherComment;
	}

	public void setLauncherComment(String launcherComment) {
		this.launcherComment = launcherComment;
	}

}